package com.shadow.ui.container.top
{
	import com.shadow.ui.container.top.base.TopContainer;
	
	import flash.events.Event;
	
	public class BattleTopContainer extends TopContainer
	{
		private static var _instance:BattleTopContainer;
		
		public function BattleTopContainer(value:SingletonEnforcer)
		{
			super();
		}
		
		public static function getInstance():BattleTopContainer
		{
			if (!_instance)
			{
				_instance = new BattleTopContainer(new SingletonEnforcer());
				_instance.addEvent();
			}
			return _instance;
		}
		
		private function addEvent():void
		{
			addEventListener(Event.REMOVED_FROM_STAGE, this.removeEvent);
			addEventListener(Event.ADDED, this.setLayout);
		}
		
		private function removeEvent(event:Event):void
		{
			
		}
		
		private function setLayout(event:Event):void
		{
			
		}
	}
}

class SingletonEnforcer
{

}